package com.onlinemarket.thrid.domain;

import java.io.Serializable;

import org.springframework.stereotype.Component;

/**
 * 对应user表
 * @author LHC
 *
 */
@Component
public class User implements Serializable {
	private static final long serialVersionUID = 4922939676010179796L;
private int user_id;
private String user_name;
private String user_password;
private int user_sex;
private String user_telephone;
private String user_address;
public User() {
}
public User(String user_name, String user_password, int user_sex, String user_telephone, String user_address) {
	this.user_name = user_name;
	this.user_password = user_password;
	this.user_sex = user_sex;
	this.user_telephone = user_telephone;
	this.user_address = user_address;
}
public int getUser_id() {
	return user_id;
}
public void setUser_id(int user_id) {
	this.user_id = user_id;
}
public String getUser_name() {
	return user_name;
}
public void setUser_name(String user_name) {
	this.user_name = user_name;
}
public String getUser_password() {
	return user_password;
}
public void setUser_password(String user_password) {
	this.user_password = user_password;
}
public int getUser_sex() {
	return user_sex;
}
public void setUser_sex(int user_sex) {
	this.user_sex = user_sex;
}
public String getUser_telephone() {
	return user_telephone;
}
public void setUser_telephone(String user_telephone) {
	this.user_telephone = user_telephone;
}
public String getUser_address() {
	return user_address;
}
public void setUser_address(String user_address) {
	this.user_address = user_address;
}
public static long getSerialversionuid() {
	return serialVersionUID;
}
@Override
public String toString() {
	return "User [user_id=" + user_id + ", user_name=" + user_name + ", user_password=" + user_password + ", user_sex="
			+ user_sex + ", user_telephone=" + user_telephone + ", user_address=" + user_address + "]";
}


}
